<%@ taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div>
    <h2>Publish a kungkhie</h2>
    
    <p>Upload a kungkhie using the form below.</p>
    
    <p>The kungkhie will then be placed in a queue for validation.  You will receive confirmation that the kungkhie has been placed in the queue.</p>
    
    <p>You will also be given a link to a page that will provide you with information on the results of the validation process.</p>
    
    <p>If validation is successful then the kungkhie will be published to kungkhie-base and will immediately become available to the kungkhie community.</p>
    
    <p>If the uploaded kungkhie is not valid then a message will be provided that will help you to sort out the problem.  Then you can re-submit.</p>
     <hr/>
     <s:url value="/uploadKungkhie" var="kungkhie_up_url" />
     <form method="post" action="${kungkhie_up_url}" name="uploadKungkhieForm" cssClass="uploadForm" enctype="multipart/form-data">
    <table cellspacing="15">
  
  <tr><td>
        <th>Kungkhie file:</th>
        <td><input name="kungkhieFile" type="file" />
      <input type="hidden" name="kungkher" value="" />
      <input type="submit" value="Upload" />      
       
    </td>
  </tr>
</table> 
  </form>
    

</div>